@fern-api/generator-cli 0.0.8 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cli.cjs +7 -4
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -12934,10 +12934,7 @@ var ReadmeGenerator = class {
|
|
|
12934
12934
|
});
|
|
12935
12935
|
}
|
|
12936
12936
|
writer.writeLine();
|
|
12937
|
-
|
|
12938
|
-
`The ${this.organizationPascalCase} ${this.languageTitle} library provides convenient access to the ${this.organizationPascalCase} API from ${this.languageTitle}.`
|
|
12939
|
-
);
|
|
12940
|
-
writer.writeLine();
|
|
12937
|
+
this.writeIntroudction({ writer });
|
|
12941
12938
|
}
|
|
12942
12939
|
writeBanner({ writer, bannerLink }) {
|
|
12943
12940
|
writer.writeLine(``);
|
|
@@ -12948,6 +12945,12 @@ var ReadmeGenerator = class {
|
|
|
12948
12945
|
"[](https://github.com/fern-api/fern)"
|
|
12949
12946
|
);
|
|
12950
12947
|
}
|
|
12948
|
+
writeIntroudction({ writer }) {
|
|
12949
|
+
writer.writeLine(
|
|
12950
|
+
this.readmeConfig.introduction != null ? this.readmeConfig.introduction : `The ${this.organizationPascalCase} ${this.languageTitle} library provides convenient access to the ${this.organizationPascalCase} API from ${this.languageTitle}.`
|
|
12951
|
+
);
|
|
12952
|
+
writer.writeLine();
|
|
12953
|
+
}
|
|
12951
12954
|
generateDocumentation({ docsLink }) {
|
|
12952
12955
|
const writer = new StringWriter();
|
|
12953
12956
|
writer.writeLine("## Documentation");
|